package com.ocom.payconfig.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.entity.payconfig.EntityDishesFoodstuff;
import com.ocom.common.request.payconfig.food.FoodstuffIdRequest;

import java.util.List;

public interface DishesFoodstuffService extends IService<EntityDishesFoodstuff> {
    Integer getCountByFoodstuffId(Long companyId, FoodstuffIdRequest request);

    Boolean deleteByFoodstuffId(Long companyId, FoodstuffIdRequest request);

    List<EntityDishesFoodstuff> getList(Long companyId, Integer merchId, Integer dishesId);


    Boolean updateOne(Long companyId, EntityDishesFoodstuff request);

    Boolean deleteOne(Long companyId, EntityDishesFoodstuff request);

    List<EntityDishesFoodstuff> getList(Long companyId, List<Integer> dishesIds);




}
